The Principles of Object-Oriented Javascript by Nicholas C. Zakas

The Principles of Object-Oriented Javascript by Nicholas C. Zakas

Author:Nicholas C. Zakas
Language: eng
Format: epub, mobi
Tags: COMPUTERS / Programming Languages / JavaScript
ISBN: 9781593275761
Publisher: No Starch Press
Published: 2014-02-13T16:00:00+00:00


Chapter 4. Constructors and Prototypes

You might be able to get pretty far in JavaScript without understanding constructors and prototypes, but you won’t truly appreciate the language without a good grasp of them. Because JavaScript lacks classes, it turns to constructors and prototypes to bring a similar order to objects. But just because some of the patterns resemble classes doesn’t mean they behave the same way. In this chapter, you’ll explore constructors and prototypes in detail to see how JavaScript uses them to create objects.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.